package com.im.netty.message;

import com.im.netty.protocol.Command;
import com.im.netty.protocol.Packet;
import com.im.netty.session.Session;

/**
 * 
 * @author yutao
 */
public class GroupMessageResponsePacket extends Packet {

	private String fromGroupId;

	private String message;
	
	private Session fromUser;
	
	public Session getFromUser() {
		return fromUser;
	}

	public void setFromUser(Session fromUser) {
		this.fromUser = fromUser;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getFromGroupId() {
		return fromGroupId;
	}

	public void setFromGroupId(String fromGroupId) {
		this.fromGroupId = fromGroupId;
	}

	/**
	 * 
	 * @see com.im.netty.protocol.Packet#getCommand()
	 */
	@Override
	public Byte getCommand() {
		return Command.GROUP_MESSAGE_RESPONSE;
	}

}
